package com.baturu.mybatisminus.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 用于标识实体类对应的数据库表名称
 * <pre>
 *    Example:
 *
 *    &#064;Table(name="t_customer")
 *    public class Customer { ... }
 * </pre>
 * @author huangbin
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface Table {

    String value() default "";
}
